Dynomotion

Group: DynoMotion Message: 9241 From: philloder Date: 2/20/2014
Subject: kstep motor setup in mach 3
Tom,
I have not found any info on axis settings for step and dir pins in mach 3 for z,y,z from a kflop and step controller. Im trying to get everything set while waiting on the connectors you sent out for my kstep board. they should be here in about a hour.
thanks,
Phil
Group: DynoMotion Message: 9242 From: Tom Kerekes Date: 2/20/2014
Subject: Re: kstep motor setup in mach 3
Hi Phil,

The Step Pulses are generated by KFLOP not Mach3 so they are not configured in Mach3.  See:
http://dynomotion.com/Help/StepAndDirection/StepAndDir.htm

There are some basic configuration example for KSTEP such as:
C:\KMotion431s\C Programs\KStep\InitKStep3Axis.c

Configure and test everything in KMotion.exe before attempting to run Mach3.

See also:

http://dynomotion.com/Help/Mach3Plugin/Mach3.htm

Regards
TK


Group: DynoMotion Message: 9243 From: philloder Date: 2/21/2014
Subject: Re: kstep motor setup in mach 3
Tom,
I received the connectors today. I have hooked a motor to axis 0 
motor specs are 1.93 volt   4.2 amp / phase   0.46 ohm/phase  2.2 mH/phase
Power supply is 48 vdc @7.2 Amps.
motor jumpers on kstep are "M" for 1.88 amp limit
power supply jumpers are all removed.
5 volts supplied to board by USB
jumper from 5 volt to enable on J6 all 3 led's are on beside connector.
I loaded the C code sample initkstep3axis.c, compiled, downloaded, and run.
I went to the step response screen to start tuning and motor is non responsive at pid 1 .01 0
tell me what im missing please.
thanks,
Phil
Group: DynoMotion Message: 9244 From: Tom Kerekes Date: 2/21/2014
Subject: Re: kstep motor setup in mach 3
Hi Phil,

Please do NOT jumper 5V to KSTEP Enable.  When KFLOP JP7 is connected to KSTEP JP36, KFLOP is driving Enable with a 3.3V only output.  Many of KFLOP's outputs are 5V tolerant but not IO45 used to drive the KSTEP 3.3V Enable.  There is a good chance that KFLOP has been damaged.   The InitKStep3Axis.c example will disable KSTEP after no motion on channels 0,1,2 for 10 seconds.   

48V may be too high for that configuration especially at the lower current setting.  At 1.88Amps the required motor voltage is only:
1.88 x 0.46 = 0.86V
The 48V supply is 56 times higher than this voltage.  We prefer the Supply voltage to be 20 times or less the motor voltage.

But I don't think that is the main problem.  Pushing "Move" on the Step Response Screen downloads all parameters from the Step Response, Config/Flash, and Filters screens which would overwrite any settings the InitKStep3Axis.c had set.  Unless the parameters were uploaded first.  This Video may help (flash player required):
http:/dynomotion.com/Help/FlashHelp/Parameters

PID parameters are not used for open loop stepper systems.

Regards
TK

Group: DynoMotion Message: 9245 From: philloder Date: 2/21/2014
Subject: Re: kstep motor setup in mach 3
Tom, 
I had loaded the example mot files for kstep axis 0,1,and 2. on the config screen and downloaded each one.
I enabled axis 0
I set all the filters to 1 using the clear and downloaded
I then tried to move using the step response screen with no movement.
That is when i tried the enable jumper. While waiting for your response I saw the c code enabling the servo and removed the jumper. 
I changed the jumper to 4.38 amp limit and lowered the power supply voltage to 35 vdc
When I try to move now the enable led comes on and still no motion. I have double checked the motor and power connections and the motor connections from the chinese drawing did not ohm out correctly. I downloaded the correct drawings from the manufacturer and reconnected. 
I now have motion.
Thanks,
Phil